//
//  BaseGKPageListViewController.m
//  RedballBar
//
//  Created by Faith  on 2024/9/16.
//

#import "BaseGKPageListViewController.h"
#import "ContestDetailController.h"

@interface BaseGKPageListViewController ()

@end

@implementation BaseGKPageListViewController

#pragma mark - UIScrollViewDelgate

- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
    !self.scrollCallback ?: self.scrollCallback(scrollView);
}

#pragma mark - GKPageListViewDelegate

- (void)listViewDidScrollCallback:(void (^)(UIScrollView * _Nonnull))callback {
    self.scrollCallback = callback;
}

@end
